<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<title>某某手机设计公司企业官网</title> ﻿
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta name="viewport"
	content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate icon" type="image/png" href="images/favicon.png">
<link rel='icon' href='favicon.ico' type='image/x-ico' />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="stylesheet" href="css/default.min.css?t=227" />
<!--[if (gte IE 9)|!(IE)]><!-->
<script type="text/javascript" src="lib/jquery/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="lib/amazeui/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script type="text/javascript" src="lib/handlebars/handlebars.min.js"></script>
<script type="text/javascript" src="lib/iscroll/iscroll-probe.js"></script>
<script type="text/javascript" src="lib/amazeui/amazeui.min.js"></script>
<script type="text/javascript" src="lib/raty/jquery.raty.js"></script>
<script type="text/javascript" src="js/main.min.js?t=1"></script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
	<script src="js/jquery-3.4.1.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
	<link rel="stylesheet" type="text/css" href="css/index.css"/>
	<link rel="stylesheet" href="css/style.css" />

<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
	<link rel="stylesheet" type="text/css" href="css/xiaomi.css"/>
	<script src="img/jquery-2.1.4.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/xiaomi.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<jsp:include page="head.jsp"></jsp:include>
	<jsp:include page="lunbo.jsp"></jsp:include>
	<section class="pro-list">
		<aside class="pro-leftsidebar">
			<ul>
				<li><a>产品搜索</a>
					<ul id="pro-search">
						<li><a><input type="text" class="pro-search"><a
								class="pro-search-btn">搜索</a>
						</a>
						</li>
					</ul></li>
				<li><a href="ProductServlet?pcid=0">产品分类</a>
					<ul id="pro-category">
						<c:forEach items="${ptlist }" var="pt">
							<li><a href="ProductServlet?pcid=${pt.pcid }">${pt.pcname}</a>
							</li>
						</c:forEach>
					</ul></li>
			</ul>
		</aside>

		<aside class="pro-rightsidebar">
			<header>

				<p></p>
				<c:choose>
					<c:when test="${empty pt }">
						<span style="margin-top: -30px;">所有商品</span>
					</c:when>
					<c:otherwise>
						<span style="margin-top: -30px;">${pt.pcname}</span>
					</c:otherwise>
				</c:choose>

			</header>
			<ul>
				<c:forEach items="${prolist }" var="p">
					<li>
					<a href="ProductDetailsServlet?pid=${p.pid }">
							<div class="img-box"style="padding-left: 30px;">
								<img src="${p.psimg }">
								<p>${p.pname }</p>
							</div> </a></li>
				</c:forEach>


			</ul>


		</aside>


	</section>

	﻿<jsp:include page="foot.jsp"></jsp:include>
</body>
</html>